Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTranslation


GetPlatformTypeFromISOType

The GetPlatformTypeFromISOType method returns the platform-specific type corresponding to the specified ISO type.

ODPlatformType GetPlatformTypeFromISOType (
                                    in ODValueType type);
type
The ISO type.
return value
A 32-bit wrapper for the corresponding platform-specific type. On the Mac OS platform, this type is identical to the ScrapType or OSType types (a four-character code).
DISCUSSION
Your part calls this method. OpenDoc does not use platform types (for example, OSType on the Mac OS). Therefore, to interoperate between OpenDoc and non-OpenDoc systems, platform types and ISO types need to be translated from one kind to the other.

SEE ALSO
The ODValueType type (page 904).
The ODStorageSystem::CreatePlatformTypeList method (page 661).
The ODTranslation::GetISOTypeFromPlatformType method (page 790).
"Translation" on page 333 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help